package com.example.demo1.controller;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        //Thread.sleep(5000);
        //throw new IllegalStateException("模拟启动失败");
    }
}
